package cn.school.workflow.vo;

import cn.school.common.BaseVO;
import cn.school.common.utils.SysUserUtils;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 维修申请单VO
 */
@Data
@TableName("t_repair_apply")
public class RepairApplyVO extends BaseVO {

    private static final long serialVersionUID = -8787224058469656514L;

    @ApiModelProperty(value = "申请单编号")
    private String applyNo;

    @ApiModelProperty(value = "流程ID")
    private String processId;

    @ApiModelProperty(value = "物品名称")
    private String articleName;

    @ApiModelProperty(value = "物品所在位置")
    private String location;

    @ApiModelProperty(value = "物品所在部门")
    private String ascriptionDept;

    @ApiModelProperty(value = "损坏时间")
    private String damageTime;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "物品图片多文件逗号‘，’分割")
    private String articleImage;

    @ApiModelProperty(value = "申请单状态 0-草稿 1-处理中 2-撤回 3-退回 4-办结")
    private String applyStatus;

    @ApiModelProperty(value = "当前处理人")
    private String currApprovedBy;

    @TableField(exist = false)
    private Integer pageSize;

    @TableField(exist = false)
    private Integer pageNum;
    /**
     * 默认租户为当前登录人的租户
     */
    private String tenantId = SysUserUtils.getSysUser().getTenantId();
}
